import Vue from "vue";
import App from "./App.vue";
import router from "@/router";
import store from "./store";
import TypeNav from "@/components/TypeNav";
import "@/mock/serve";
import 'swiper/css/swiper.css';
import Carousel from '@/components/Carousel';
import Pagination from '@/components/Pagination';
Vue.component( Carousel.name,Carousel);
Vue.component( Pagination.name,Pagination);

Vue.component("TypeNav", TypeNav);

Vue.config.productionTip = false;
new Vue({
  render: (h) => h(App),
  beforeCreate(){
    Vue.prototype.$bus = this
  },
  router,
  store,
}).$mount("#app");
